package com.cloudptt.api.product;

import java.util.List;

import com.cloudptt.api.product.func.call.CallAttr;
import com.cloudptt.api.product.func.call.CallListener;
import com.cloudptt.api.product.func.call.group.HalfCallInfo;
import com.cloudptt.api.product.func.call.group.GroupCallSpeakListener;
import com.cloudptt.api.product.operator.CallOperator;


public interface ISuperCallOperator 
{
	public int newCall(CallAttr callAttr);
	public int doUserAction(String callKey,int btnAction);
	public boolean isActiveCall(String callKey);
	public boolean isHasCall(String callKey);
//	public int getWebrtcCallState(String callKey);
	public HalfCallInfo getHalfCallInfo(String callKey);
	public List<HalfCallInfo> getGroupCallInfoList();
	public void setSingleCallListener(CallListener callListener);
//	public void setWebrtcCallListener(CallListener callListener);
	public void setGCallListener(CallListener callListener,GroupCallSpeakListener speakListener);
//	public SurfaceViewRenderer getPCallSurfaceView(String callKey, int type);
//	public SurfaceViewRenderer getWebrtcCallSurfaceView(String callKey, int type);
//	public void setIslaunch(String callKey, boolean islaunch);
	public void startSoundPlayer(int type);
	public String getCallDesc();
//	public boolean isHaveActiveWebrtcCall();
	public boolean isMicMute(String callKey);
	public void screenAngle(String callKey,int angle);
//	public boolean isPCallMicMute(String callKey);
	public CallOperator getCallOperator();
	public void negotiateRtcpChannel();
}
